#ifndef __AREA__HH__
#define __AREA__HH__

#include "character.h"
#include "objects.h"
#include "player.h"

typedef struct _bound_t{
    int x,y, dx,dy;
}bound_t;

typedef struct _area_t{
    unsigned int w, h;
    item_t *items;
    character_t *hostiles;
    character_t *friendly;
    sprite_t *immutables;//something that no one can pass(a wall)
    sprite_t *walkables;//you can walk on this
    sprite_t *overlay;//on top of everything
    bound_t *bounds;//lines that cannot be passed.
}area_t;

#endif
